package com.example.mq.common.net;

import java.io.Serializable;

public class BasicReturns implements Serializable {

    //标识请求和响应
    protected String rid;

    //用来标识一个channel
    protected String channelId;

    //当前远程调用的返回结果
    protected boolean ok;

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public boolean isOk() {
        return ok;
    }

    public void setOk(boolean ok) {
        this.ok = ok;
    }
}
